package com.yunhoo.base.db.dao;

import com.yunhoo.base.model.InventType;
import java.sql.SQLException;
import java.util.List;

public interface InventTypeDao {

    public void insert(InventType param) throws SQLException;

    public void update(InventType param) throws SQLException;

    public void updateIsEnd(InventType param) throws SQLException;

    public void delete(InventType param) throws SQLException;

    public void deleteById(InventType param) throws SQLException;

    public InventType queryById(InventType param) throws SQLException;

    public List<InventType> queryAll(InventType param) throws SQLException;

    public List<InventType> directSubNodes(InventType param) throws SQLException;

    public InventType nameRepeatForInsert(InventType param) throws SQLException;

    public InventType nameRepeatForUpdate(InventType param) throws SQLException;

    public List<InventType> queryListByOrgAndYear(InventType param) throws SQLException;
}
